﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Authorization;

namespace SaiLing.SingleSignOn.Application.Core.Authorizations
{
    public class WebAuthorizationRequirement : IAuthorizationRequirement
    {
        public bool IsAdministrator { get; set; }

        public bool IsAuth { get; set; }

        public WebAuthorizationRequirement(bool isAdministrator = false)
        {
            IsAdministrator = isAdministrator;
        }
    }
}
